package com.yumeng.framework.persistence.mybatis.base.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 基于Mybatis-plus 公共Entity
 * @author wxd
 * @date 2021/9/7 12:25
 */
@Getter
@Setter
public class MpBaseEntity_C extends MpBaseEntity {

    private static final long serialVersionUID = 1L;

    public MpBaseEntity_C(){}
    public MpBaseEntity_C(boolean isAdd){
    }

    @TableField(value = "creater", fill = FieldFill.INSERT)
    private Long creater;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
